package com.showsu.editor.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: William
 * @Description:
 * @Date: Created in 19:47 2025/4/7
 * @Modified By:
 */
@Data
@ApiModel(value = "笔记的评论列表，含有live图")
public class AwemeCommentLiveImgVO implements Serializable {

    @ApiModelProperty("抓取是否成功")
    private Boolean success = true;

    @ApiModelProperty("作品id")
    private String awemeId;

    @ApiModelProperty("该响应结果中没有图片数据，给前端tab页隐藏用的")
    private Boolean hasPics = true;

    @ApiModelProperty("评论区文字列表")
    private List<String> textList;

    @ApiModelProperty("图集信息：包含所有图片地址")
    private List<LiveImageInfo> liveImages;

    @Data
    public class LiveImageInfo implements Serializable {

        public LiveImageInfo(String cover, String url) {
            this.cover = cover;
            this.url = url;
        }

        @ApiModelProperty("封面图")
        private String cover;
        @ApiModelProperty("live图的视频地址")
        private String url;

    }
}
